package com.chenyongjing.design.pattern.interpreter.calculate;

/**
 * 非终结表达式
 * @Author chen
 * @Date 2022/11/27 14:44
 */
public abstract class Interpreter  implements IArithmeticInterpreter{

    protected IArithmeticInterpreter left;
    protected IArithmeticInterpreter right;

    public Interpreter(IArithmeticInterpreter left, IArithmeticInterpreter right) {
        this.left = left;
        this.right = right;
    }
}
